Repository navigation
feat(agystack): encode Antigravity invariants and align skill catalog - #23
Merged
Merged
Conversation
…ack defaults Update README.md and docs/guide/08-principles.md to reflect 24 principles and 23 playbooks, replace the removed /grill-me references with the seven unlisted skills, align README model tier summary and setup-agystack Steps 4-7 with agystack-models.md, and trim trailing blank lines in agystack-models.md.
Add tests/test_antigravity_invariants.py covering Brain Artifacts, three-tier routing, send_message loops, browser_subagent Surface Precedence Hierarchy, permissioned-github recovery, orchestrate.md, role keys, and dynamic Cursor leakage scanning. Extend tests/test_skill_catalog.py to verify every non-principle skill is linked in README.md and block ghost skills, broken links, or playbook drift.
Owner
Author
Verification Verdict: CLEAN at
|
Owner
Author
Independent Verification Verdict:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Upstream ports and catalog edits drifted across docs and setup instructions. Seven on-disk skills disappeared from
README.md, a nonexistent/grill-meskill lingered in the README table and examples,README.mdanddocs/guide/08-principles.mdreported 23 principles instead of 24, andskills/setup-agystack/SKILL.mdstill wrotepro-default model blocks that disagreed withagystack-models.md. This PR encodes agystack's native Antigravity invariants and README catalog checks in automated tests so drift fails CI.Scope
tests/test_antigravity_invariants.pyaddsTestAntigravityInvariantsandfind_cursor_leakagecovering Brain Artifact deliverables, three-tier parallel routing,send_messageiterative worker loops,browser_subagentandSurface Precedence Hierarchy,permissioned-githubrecovery,skills/poteto-mode/playbooks/orchestrate.md, active role keys validated againstsetup_runtime.parse_model_config, and dynamic Cursor leakage scanning acrossskills/**/*.md,rules/, andagents/.tests/test_skill_catalog.pyaddstest_readme_indexes_all_non_principle_skillsandtest_readme_has_no_ghost_skillschecking every non-principle-*skill row, markdown link target, uniqueness,all the examplesslash commands, andthe 23 playbookstable against disk.README.mdupdatestwenty-three playbooksto23 playbooks, updatestwenty-threeprinciples totwenty-four, updates the model-tier summary to matchagystack-models.md, removes the ghost/grill-merow andgrill-me:example, and adds the seven unlisted skills (benchmark-checklist,correct,create-formal-verification-skill,in-your-own-words,ketchup,loop,sharpen) to theall skillstable.docs/guide/08-principles.mdupdates23 principlesand## The 23, brieflyto24 principlesand## The 24, briefly.skills/setup-agystack/SKILL.mdaligns Step 4's role list and Step 5's config block withagystack-models.md, and adds an optional/create-formal-verification-skilloffer in Step 7.agystack-models.mdremoves two extra trailing blank lines while keepingsetup_runtime.py --doctorgreen.Tradeoffs
test_active_role_keys_defined_and_consumedvalidates consumption for role keys already referenced inskills/rather than editing out-of-scope skill files to wire unused keys such asarena cross-judge pool,judgment and prose, andhardest tasks.find_cursor_leakagestrips only exact negative-glob phrases targeting~/.cursor/projects/*/and allows only legacy mapping table rows inskills/poteto-mode/references/antigravity-tools.mdso documentation warnings pass while unguarded.cursoror Cursor tool tokens fail.Blast Radius
This PR touches only two test modules and four documentation or model-config files. Existing plugin runtime behavior, hooks, and Cloud Run scripts stay unchanged. Two
/grill-mereferences outside this six-file scope indocs/guide/04-design.mdandskills/architect/SKILL.mdremain untouched.Verification
All checks ran on
HEADatc203bc22680ed0633239bf2008939119127cbe67after the final edit.ruff check .passed with zero lint errors.pytest -v tests/passed 412 tests with 153 subtests passed and 3 skipped live GCS credential tests intests/test_live_cloud_bidirectional.py.bun testinskills/poteto-mode/scriptspassed 47 tests across 4 files afterbun install --frozen-lockfile, andbun run typecheckpassed.python3 skills/setup-agystack/scripts/setup_runtime.py --doctorreturnedstatus: "OK", confirmed under both default and isolatedHOMEenvironments.bash scripts/package-plugin.sh --testverified theagystack v0.17.0archive dry-run withagyCLI absent on host.grep -rnE "twenty-three|23 principles|grill-me" README.md docs/guide/08-principles.mdexited 1 with zero matches.git diff --name-only origin/main..HEADreturned only the six scoped files.